/**
 * @功能描述: 基础标题样式文件
 * @author: lzn
 * @date: 2022-09-21 14:58:35
 * @version: 1.0
 */
@import '../../style/index';

// 定义标题大小
@mixin yx-title($size, $line) {
  font-size: $size;
  line-height: $line;
}

// 基础标题样式
@include b(base-heading) {
  margin-bottom: 0.5em;
  font-weight: 600;
  // h1标题大小
  @include reverse(h1) {
    @include yx-title($title-size-1, $title-line-height-1);
  }
  // h2标题大小
  @include reverse(h2) {
    @include yx-title($title-size-2, $title-line-height-2);
  }
  // h3标题大小
  @include reverse(h3) {
    @include yx-title($title-size-3, $title-line-height-3);
  }
  // h4标题大小
  @include reverse(h4) {
    @include yx-title($title-size-4, $title-line-height-4);
  }
  // h5标题大小
  @include reverse(h5) {
    @include yx-title($title-size-5, $title-line-height-5);
  }
}